﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ExamActivationView.aspx.cs" Inherits="Skynet.WebSite.Administration.ExamActivationView" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="AjaxContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    

    <table class="style1">
        <tr>
            <td>
                Customer</td>
            <td>
                <asp:DropDownList ID="ddlCustomer" runat="server" DataTextField="LastName" 
                    DataValueField="Id">
                </asp:DropDownList>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="ddlCustomer">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Exam</td>
            <td>
                <asp:DropDownList ID="ddlExams" runat="server" DataTextField="Title" 
                    DataValueField="Id">
                </asp:DropDownList>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="ddlExams">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Duration</td>
            <td>
                <asp:TextBox ID="txtDuration" runat="server"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtDuration">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Valid From</td>
            <td>
                <asp:TextBox ID="txtValidFrom" runat="server"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                    ControlToValidate="txtValidFrom">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Valid To</td>
            <td>
                <asp:TextBox ID="txtValidTo" runat="server"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                    ControlToValidate="txtValidTo">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                <asp:ValidationSummary ID="ValidationSummary1" runat="server" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                <asp:LinkButton ID="lbSave" runat="server" onclick="lbSave_Click">Save</asp:LinkButton>
&nbsp;
                <asp:LinkButton ID="lbCancel" runat="server" PostBackUrl="~/Default.aspx" 
                    CausesValidation="False">Cancel</asp:LinkButton>
                
            </td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
    

</asp:Content>
